#!/bin/bash
wget $2/Application/Data/$1/c_cpp/$1.c 1>/dev/null 2>&1
echo "Build:"
cpp $1 -o $1.c 2>1
int=$3
while(( $int>0 ))
do
	wget $2/Application/Data/$1/c_cpp/$1$int.txt 1>/dev/null 2>&1
	echo "Run:"
	./$1<$1$int.txt 2>1
	let "int--"
done

